package test_2_28;

public class Year {
    public static void main(String[] args) {
        int i;
        int j;
        for(i=1000;i<=2000;i++)
        {
            if((i%4==0 &&i%100 !=0) || i%400==0)
            {
                System.out.print(i+"是闰年\t");
            }
        }

    }
}
